<template>
	<van-sticky :offset-top="0">
		<div style="background-color: #fff;">
			<Kf/>
			<SesSearch v-model:value="searchValue" @search="search" ref="searchRef"/>
		</div>
	</van-sticky>
	
	<div style="margin: 0 auto;padding: 0px 10px 0px 10px;">
		<div class="moduletitle">最新报告</div>
		<NewSe :schoolReport="false" :examType="0"/>
		<div class="moduletitle">历次报告</div>
		<SeList/>
	</div>
	
</template>
<script lang="ts" setup>
import { ref,reactive } from 'vue';
import NewSe from "./components/newse/NewSe.vue"
import SesSearch from "./components/search/union/SesSearch.vue"
import Kf from "./components/kf/Kf.vue"
import SeList from "./components/list/SeList.vue"
let searchValue=ref({
	subjectID:-99,
	key:"",
	year:"",
	type:"",
	date:""
});
const searchRef = ref<InstanceType <typeof SesSearch>>();
function search():void{
	console.log("搜索",searchValue,searchRef?.value?.inputValue);
}
</script>
<style scoped>
.moduletitle{
	color: rgba(48, 49, 51, 1);
	font-size: 18px;
	font-weight: 700;
	line-height: 50px;
	height: 50px;
}
</style>